Skip to main content

RemoteCellObj

Wolfram Kernel
Execution environment
Notebook`CellOperations`
Context

a remote representation of a notebook cell for evaluation Kernel

RemoteCellObj[uid_String] _RemoteCellObj

Methods

Delete

Deletes a given cell in the notebook

Self destruction
With[{cell = EvaluationCell[]},
EventHandler[InputButton["Bye"], Function[Null,
cell // Delete
]]
]

removes an input cell

EventHandler

There is an adapter for EventHandler method. You can listen a cell's events from the evaluation Kernel

With[{cell = EvaluationCell[]},
EventHandler[cell, {any_ :> (Print[any, ": ", #]&)}];
]

listen all events from the input cell

Set

Use "Data" field to mutate the content live

With[{cell = EvaluationCell[]},
cell["Data"] = "1+1"
]
warning

For now only works for input cells